package cn.gson.boot.model.pojos;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Objects;

public class DeptSortPK implements Serializable {
    private int deptId;
    private int sortID;

    @Column(name = "dept_id", nullable = false)
    @Id
    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    @Column(name = "sort_id", nullable = false)
    @Id
    public int getSortID() {
        return sortID;
    }

    public void setSortID(int sortID) {
        this.sortID = sortID;
    }

}
